const timeline = this.pageObj.getApiWidgetByAliasName('timeline-v2');

let option = timeline.widgetObj._option;

console.log($event, timeline, option)

// 使用边框气泡
option.bubble = { type: 'bubble-border' };
// 设置气泡三角位置
option.triangle = { direction: 'left', left: -25 };


if ($event === 'Incomplete') {
  // 未开始
} else if ($event === 'ongoing') {
  // 进行中
} else if ($event === 'done') {
  // 已完成
}


timeline.widgetObj._option = option
timeline.widgetObj.render()





